PM3.6 - Ice Climbers - Action - 0x113 SpecialS
Entry Script
- Subroutine(0x37b84)
- CreateInterrupt { interrupt_id: Some(10004), action: FallSpecial, requirement: (AnimationEnd) }
- CallEveryFrame { thread_id: 9, script: 0x38634 }
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 467 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 469 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 466 }
- IntVariableSet { variable: RandomAccessInt (0x1), value: 468 }
- loop Infinite times:
- if (OnGround)
- UnknownEvent { namespace: 0x9, code: 0x0, unk1: 0x0, arguments: [Value(0)] }
- SetEdgeSlide(StayOn)
- if (BoolIsTrue RandomAccessBool(EnableGlide))
- SetAirGround(105)
- else
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- SetAirGround(102)
- else
- SetAirGround(101)
- if ((InternalConstantInt(CurrentSubaction) Equal RandomAccessInt (0x1)))
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 0 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
- EnableInterrupt(10000)
- DisableInterrupt(10004)
- else
- UnknownEvent { namespace: 0x9, code: 0x0, unk1: 0x0, arguments: [Value(2)] }
- SetEdgeSlide(Airbourne)
- if (BoolIsTrue RandomAccessBool(EnableGlide))
- SetAirGround(106)
- else
- if (BoolIsTrue RandomAccessBool(EnableActionTransition))
- SetAirGround(104)
- else
- SetAirGround(103)
- if ((InternalConstantInt(CurrentSubaction) Equal RandomAccessInt (0x0)))
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Bool(true)] }
- else
- UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 })] }
- UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
- DisableInterrupt(10000)
- EnableInterrupt(10004)
- LoopRest
Exit Script